package jbit.entity;
// default package

import java.util.HashSet;
import java.util.Set;


/**
 * 部门表
 */

public class Department  implements java.io.Serializable {


    // Fields    

	/**
	 * 部门ID
	 */
     private Integer id;
     /**
 	 * 部门经理编号
 	 */
     private Employee sysEmployee;
     /**
 	 * 部门名字
 	 */
     private String name;
     /**
 	 * 部门经理和职员的关系
 	 */
     private Set sysEmployees = new HashSet(0);


    // Constructors

    /** default constructor */
    public Department() {
    }

	/** minimal constructor */
    public Department(String name) {
        this.name = name;
    }
    
    /** full constructor */
    public Department(Employee sysEmployee, String name, Set sysEmployees) {
        this.sysEmployee = sysEmployee;
        this.name = name;
        this.sysEmployees = sysEmployees;
    }

   
    // Property accessors

    public Integer getId() {
        return this.id;
    }
    
    public void setId(Integer id) {
        this.id = id;
    }

    public Employee getSysEmployee() {
        return this.sysEmployee;
    }
    
    public void setSysEmployee(Employee sysEmployee) {
        this.sysEmployee = sysEmployee;
    }

    public String getName() {
        return this.name;
    }
    
    public void setName(String name) {
        this.name = name;
    }

    public Set getSysEmployees() {
        return this.sysEmployees;
    }
    
    public void setSysEmployees(Set sysEmployees) {
        this.sysEmployees = sysEmployees;
    }
   








}